package top.aicats.blog.BlogManage.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;

/**
 * @author sjc
 * @version 1.0
 * @date 2020/1/11 15:32
 * @email 952491025@qq.com
 */

@Entity
public class BlogContent {
    @Id
    private String blogContentRefid;
    private Integer blogId;
    private String blogTitle;
    private String blogContent;
    private Timestamp createTime;
    private Boolean isActive;
    private Boolean isDeleted;
    private String blogContentForeignKey;

    public String getBlogContentRefid() {
        return blogContentRefid;
    }

    public void setBlogContentRefid(String blogContentRefid) {
        this.blogContentRefid = blogContentRefid;
    }

    public Integer getBlogId() {
        return blogId;
    }

    public void setBlogId(Integer blogId) {
        this.blogId = blogId;
    }
    public String getBlogTitle() {
        return blogTitle;
    }

    public void setBlogTitle(String blogTitle) {
        this.blogTitle = blogTitle;
    }
    public String getBlogContent() {
        return blogContent;
    }

    public void setBlogContent(String blogContent) {
        this.blogContent = blogContent;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Boolean getActive() {
        return isActive;
    }

    public void setActive(Boolean active) {
        isActive = active;
    }

    public Boolean getDeleted() {
        return isDeleted;
    }

    public void setDeleted(Boolean deleted) {
        isDeleted = deleted;
    }

    public String getBlogContentForeignKey() {
        return blogContentForeignKey;
    }

    public void setBlogContentForeignKey(String blogContentForeignKey) {
        this.blogContentForeignKey = blogContentForeignKey;
    }

}
